package com.qf.votedemo.contestant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author lx
 * @since 2023-02-24
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("contestantPhone")
public class Contestantphone implements Serializable {


    @TableId(value = "cpid", type = IdType.AUTO)
    private Integer cpid;

    private Integer cid;

    private Integer pid;

    @TableField("ballotTime")
    private Long ballotTime;

    private Integer count;

}
